<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=US-ASCII">
<title>Pegs</title>
<link rel="previous" href="guess.html">
<link rel="ToC" href="index.html">
<link rel="up" href="index.html">
<link rel="index" href="docindex.html">
<link rel="next" href="dominosa.html">
<style type="text/css">body { word-wrap: break-word; } body.night { color: #dddddd; background: #000000; } body.night a:link { color: #8888ff; } body.night a:visited { color: #cc88ff; }</style></head>
<body>
<p><a href="guess.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="dominosa.html">Next</a></p>
<h1><a name="C16"></a>Chapter 16: <a name="i0"></a>Pegs</h1>
<p>
A number of pegs are placed in holes on a board. You can remove a peg by jumping an adjacent peg over it (horizontally or vertically) to a vacant hole on the other side. Your aim is to remove all but one of the pegs initially present.
</p>
<p>
This game, best known as <a name="i1"></a>&#8216;Peg Solitaire&#8217;, is possibly one of the oldest puzzle games still commonly known.
</p>
<h2><a name="S16.1"></a>16.1 <a name="i2"></a>Pegs controls</h2>
<p>
<em>On Android, please touch for left click and long press for right click. Also note that where this manual refers to pressing a letter on the keyboard, the Android version has icons at the bottom of the screen instead (Control and Shift are not available). There is also an optional "Night mode" which uses darker colours in low light.</em>
</p>
<p>
To move a peg, drag it with the mouse from its current position to its final position. If the final position is exactly two holes away from the initial position, is currently unoccupied by a peg, and there is a peg in the intervening square, the move will be permitted and the intervening peg will be removed.
</p>
<p>
Vacant spaces which you can move a peg into are marked with holes. A space with no peg and no hole is not available for moving at all: it is an obstacle which you must work around.
</p>
<p>
You can also use the cursor keys to move a position indicator around the board. Pressing the return key while over a peg, followed by a cursor key, will jump the peg in that direction (if that is a legal move).
</p>
<p>
(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
</p>
<h2><a name="S16.2"></a>16.2 <a name="i3"></a>Pegs parameters</h2>
<p>
These parameters are available from the &#8216;Custom...&#8217; option on the &#8216;Type&#8217; menu.
</p>
<dl><dt>
<em>Width</em>, <em>Height</em>
</dt>
<dd>
Size of grid in holes.
</dd>
<dt>
<em>Board type</em>
</dt>
<dd>
Controls whether you are given a board of a standard shape or a randomly generated shape. The two standard shapes currently supported are &#8216;Cross&#8217; (in various sizes) and &#8216;Octagon&#8217;. The 7&#215;7 Cross is the traditional English board layout. The Octagon is the traditional French one. Selecting &#8216;Random&#8217; will give you a different board shape every time (but always one that is known to have a solution).
</dd>
</dl>

<hr><address></address></body>
</html>
